package fun.codedesign.yinxue.util.batch.filter;

import java.io.File;

public class PhpFilter implements Filter{
    @Override
    public boolean isFile(File file) {
        String fileName = file.getName();
        String absolutePath = file.getAbsolutePath();
        return fileName.endsWith(".php")  && !absolutePath.contains("vendor") ;
    }
}
